<template>
	<view class="feedback">
		<view class="feedback-title">反馈内容</view>
		<view class="feedback-input">
			<u-input v-model="des" type="textarea" :clearable="false" rows="6" cols="20" maxlength="240" height="220"/>
		</view>
		<view class="feedback-title">联系方式</view>
		<view class="feedback-input">
			<u-input v-model="phone"/>
		</view>
		<view :class="['btn',des?'btn-active':'']">
			提交反馈
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				des: '',
				phone: ''
			}
		},
		onLoad() {
			
		},
		methods: {
			goto(name) {
				uni.navigateTo({
					url: name+"?school_code="+this.schoolDetail.school_code
				});
			},
			
		}
	}
</script>

<style lang="less" scoped>
	.feedback {
		.feedback-title {
			padding: 30rpx;
		}
		.feedback-input {
			background-color: #FFFFFF;
			padding: 20rpx;
		}
		.btn {
			width: 80%;
			margin-left: 10%;
			line-height: 80rpx;
			background-color: #bbebd5;
			color: #FFFFFF;
			text-align: center;
			margin-top: 200rpx;
		}
		.btn-active {
			background-color: #45b688;
		}
	}
</style>
<style>
	page {
		background-color: #F5F5F5;
	}
</style>
